<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>结构复制-快速复制一个data</title>
</head>

<body>
    <script type="text/javascript">
    function buildDate({ year, month, day, hour = 0, minute = 0, second = 0 }) {
        return new Date(year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second);
    }
    </script>
</body>

</html>